<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <form  action="/login" method="post">
        <input type="text" name="username" placeholder="请输入用户名:">
        <input type="password" name="password" placeholder="请输入密码:">
        <input type="submit" value="登录">
        <a href="register">注册</a>
   </form>
<!-- 在表单区域添加以下内容 -->
<!--<form action="{{ url_for('login') }}" method="POST">-->
<!--    {% if error %}-->
<!--    <div class="alert alert-danger">{{ error }}</div>-->
<!--    {% endif %}-->

<!--    <input type="text" name="username" placeholder="用户名" required>-->
<!--    <input type="password" name="password" placeholder="密码" required>-->
<!--    <button type="submit">登录</button>-->
<!--    <a href="{{ url_for('register') }}">立即注册</a>-->
<!--</form>-->
</body>
</html>



